package cn.taichoo.server.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 租户APP关联关系对象 tai_tenant_app_info
 * 
 * @author Wuzh
 * @date 2025-03-17
 */
@Data
@TableName("tai_tenant_app_info")
public class TenantAppEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** id */
    @TableId
    private Long id;

    /** 租户Id */
    @Schema(description = "租户Id")
    @Excel(name = "租户Id")
    @TableField("tenant_id")
    private Long tenantId;

    /** 租户里生成APP的用户Id */
    @Schema(description = "租户里生成APP的用户Id")
    @Excel(name = "租户里生成APP的用户Id")
    @TableField("user_id")
    private Long userId;

    /** app ID */
    @Schema(description = "app ID")
    @Excel(name = "app ID")
    @TableField("app_id")
    private Long appId;

    /** 是否删除 */
    @Schema(description = "是否删除")
    @Excel(name = "是否删除")
    @TableField("deleted")
    private Integer deleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setTenantId(Long tenantId) 
    {
        this.tenantId = tenantId;
    }

    public Long getTenantId() 
    {
        return tenantId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setAppId(Long appId) 
    {
        this.appId = appId;
    }

    public Long getAppId() 
    {
        return appId;
    }

    public void setDeleted(Integer deleted) 
    {
        this.deleted = deleted;
    }

    public Integer getDeleted() 
    {
        return deleted;
    }

}
